const http = uni.$u.http
const apiPublic = "/plugin.php?id=tianxia_wechat:api"


//登录
export const loginByUserPwd = (params) => http.post('/user/login', {...params})

//订单
export const getOrderList = (params) => http.post('/order/index', {...params})

//订单详情
export const getOrderByid = (params) => http.post('/order/detail', {...params})

//添加订单
export const addOrder = (params) => http.post('/order/save', {...params})

//添加订单
